﻿<UserControl
    x:Class="Expenses.Controls.DatePicker"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Expenses.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="32"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="135"/>
            <ColumnDefinition Width="165"/>
            <ColumnDefinition Width="100"/>
        </Grid.ColumnDefinitions>
        <ComboBox x:Name="MonthComboBox" 
                  Grid.Column="0" 
                  Width="130"
                  BorderBrush="{StaticResource ItemTemplateBackgroundColor}"
                  SelectionChanged="MonthComboBox_SelectionChanged"/>
        <ComboBox x:Name="DayComboBox"  
                  Grid.Column="1" 
                  Width="160"
                  BorderBrush="{StaticResource ItemTemplateBackgroundColor}"
                  SelectionChanged="DayComboBox_SelectionChanged"/>
        <ComboBox x:Name="YearComboBox" 
                  Grid.Column="2" 
                  Width="95"
                  BorderBrush="{StaticResource ItemTemplateBackgroundColor}"
                  SelectionChanged="YearComboBox_SelectionChanged"/>
    </Grid>
</UserControl>
